<include file="Public:header" />
    <h3 class="title"><em>网站配置</em></h3>
	<div class="formbox">
    	<form name="mform" method="post" action="{:U('add')}">
		<table width="100%" border="0" cellspacing="1" cellpadding="0">
			<tr>
				<th>网站名称：</th>
				<td><input name="web_name" type="text" class="ipt" id="web_name" size="50" maxlength="50" value="{$info['web_name']}" /></td>
			</tr>
            <tr>
				<th>网站链接：</th>
				<td><input name="web_url" type="text" class="ipt" id="web_url" size="50" maxlength="50" value="{$info['web_url']}" /></td>
			</tr>
            <tr>
				<th>公司地址：</th>
				<td><input name="address" type="text" class="ipt" id="address" size="50" maxlength="50" value="{$info['address']}" /></td>
			</tr>
            <tr>
				<th>联系电话：</th>
				<td><input name="tel" type="text" class="ipt" id="tel" size="50" maxlength="50" value="{$info['tel']}" /></td>
			</tr>
            <tr>
				<th>联系邮箱：</th>
				<td><input name="email" type="text" class="ipt" id="email" size="50" maxlength="50" value="{$info['email']}" /></td>
			</tr>
            <tr>
				<th>联系QQ：</th>
				<td><input name="qq" type="text" class="ipt" id="qq" size="50" maxlength="50" value="{$info['qq']}" /></td>
			</tr>
            <tr>
				<th>备案号：</th>
				<td><input name="bah" type="text" class="ipt" id="bah" size="50" maxlength="50" value="{$info['bah']}" /></td>
			</tr>
            <tr>
				<th>首页Title：</th>
				<td><input name="title" type="text" class="ipt" id="title" size="50" maxlength="50" value="{$info['title']}" /></td>
			</tr>
            <tr>
				<th>首页Keywords：</th>
				<td><input name="keywords" type="text" class="ipt" id="keywords" size="50" maxlength="50" value="{$info['keywords']}" /></td>
			</tr>
            <tr>
				<th>首页Description：</th>
				<td><textarea name="description" cols="55" rows="8" class="ipt" id="description">{$info['description']}</textarea></td>
			</tr>
            
            <tr>
				<th>新闻列表显示条数：</th>
				<td><input name="news_page_size" type="text" class="ipt" id="news_page_size" size="5" maxlength="5" value="{$info['news_page_size']}" /></td>
			</tr>
            <tr>
				<th>网站列表显示条数：</th>
				<td><input name="websites_page_size" type="text" class="ipt" id="websites_page_size" size="5" maxlength="5" value="{$info['websites_page_size']}" /></td>
			</tr>
            
            <tr>
				<th>会员提交站点是否需要金额：</th>
				<td><input name="post_website_score" type="text" class="ipt" id="post_website_score" size="5" maxlength="5" value="{$info['post_website_score']}" /> 元 <span class="tips">设为0时则不需要余额就能发布</span></td>
			</tr>
            
            <tr>
				<th>留言板ip过滤：</th>
				<td><textarea name="guestbook_lock" cols="55" rows="8" class="ipt" id="guestbook_lock">{$info['guestbook_lock']}</textarea><div class="tips">每个ip用“｜”分割</div></td>
			</tr>
			<tr>
				<th>留言板禁止提交网站：</th>
				<td>
                	<label><input name="post_lock_website" type="radio" value="1" <eq name="info['post_lock_website']" value="1">checked="checked"</eq> /> 是</label>
                	<label><input name="post_lock_website" type="radio" value="2" <eq name="info['post_lock_website']" value="2">checked="checked"</eq> /> 否</label>
                </td>
			</tr>
			<tr class="btnbox">
            	<th>&nbsp;</th>
				<td>
					<input type="submit" class="btn" value="保 存">&nbsp;
				</td>
			</tr>
		</table>
        </form>
	</div>
<include file="Public:footer" />
